<ui:composition xmlns="http://www.w3.org/1999/xhtml"
	xmlns:h="http://java.sun.com/jsf/html"
	xmlns:f="http://java.sun.com/jsf/core"
	xmlns:c="http://java.sun.com/jsp/jstl/core"
	xmlns:ui="http://java.sun.com/jsf/facelets"
	xmlns:p="http://primefaces.org/ui"
	template="/layout/page/form/page-fieldset-template.xhtml">

	<ui:param name="pvb" value="#{commonContentViewBean.parent}" />
	<ui:param name="pageViewBean" value="#{commonContentViewBean}" />
	<ui:param name="compId" value="#{pageViewBean.id}" />
	<ui:param name="winTitle" value="编辑笔录问题" />


	<ui:define name="formContent">
		<h:panelGroup style="float: right;">
			<h:outputText value="笔录问题名称：" />
		</h:panelGroup>
		<h:panelGroup style="float: left;">
			<h:inputText id="question" value="#{pageViewBean.question}"
				required="true" />
		</h:panelGroup>

		<h:panelGroup style="float: right;">
			<center><p:commandButton
				actionListener="#{questionAction.update}" title="保存"
				oncomplete="#{commonContentViewBean.id}_dialog.hide();"
				image="./img/icons/add.png" value="保存" style="margin:5px;"
				update="#{pvb.getView(1).id}_questionForm">
				<h:inputHidden value="#{pageViewBean.id}" />
			</p:commandButton></center>
		</h:panelGroup>
		<h:panelGroup style="float: left;">
			<center><p:commandButton title="关闭" type="button"
				onclick="#{commonContentViewBean.id}_dialog.hide();"
				image="./img/icons/cancel.png" value="关闭" style="margin:5px;">
			</p:commandButton></center>
		</h:panelGroup>
	</ui:define>

</ui:composition>